package com.oa.ylms.apps.business.archives;

import com.oa.ylms.apps.entity.archives.MailInfoValue;

public interface IMailInfoService {
	public int addMailInfo(String mail) throws Exception;
	
	public boolean modifyMailInfo(int mailId, String mail) throws Exception;
	
	public MailInfoValue queryByMailId(int mailId) throws Exception;
	
	public MailInfoValue queryMailInfo(int mailId, String verifyCode) throws Exception;
	
	public boolean verifyMailInfo(int mailId, String verifyCode) throws Exception;
	
	public String getVerifyCode() throws Exception;
	
	public boolean toDisable(int mailId) throws Exception;
	
//	public boolean sendMail(Integer mailId) throws Exception;
}
